<?php

namespace app\web\validate;

use think\Validate;

class Card extends Validate
{
    protected $rule = [
        'sale_id' => 'require|integer',
        'activity_video_id' => 'require|integer',
    ];

    protected $field = [
        'sale_id' => '活动',
        'mac_id' => '机器ID',
        'activity_video_id' => '视频',
    ];
}